/**
 * @file at24cxx.h
 * @brief AT24CXX EEPROM兼容层头文件
 * @note 板子上没有AT24 EEPROM，所有函数为空实现
 */

#ifndef __AT24CXX_H
#define __AT24CXX_H

#include <stdint.h>

// AT24CXX函数声明（兼容层，无硬件实现）
void AT24CXX_Init(void);
void AT24CXX_WriteLenByte(uint16_t WriteAddr, uint32_t DataToWrite, uint8_t Len);
uint32_t AT24CXX_ReadLenByte(uint16_t ReadAddr, uint8_t Len);
void AT24CXX_WriteOneByte(uint16_t WriteAddr, uint8_t DataToWrite);
uint8_t AT24CXX_ReadOneByte(uint16_t ReadAddr);

#endif /* __AT24CXX_H */

